package com.ezjie.ielts.model;

import java.io.Serializable;

/**
 * 单词例句
 * 
 * @author renyangyang
 *
 */
public class EwordInstance implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6838108163520308647L;
	private int instance_id;
	private int word_id;
	private int source_id;
	private String lang;
	private String origin;
	private String translation;
	private int is_active;
	private String create_time;
	private String update_time;

	public int getInstance_id() {
		return instance_id;
	}

	public void setInstance_id(int instance_id) {
		this.instance_id = instance_id;
	}

	public int getWord_id() {
		return word_id;
	}

	public void setWord_id(int word_id) {
		this.word_id = word_id;
	}

	public int getSource_id() {
		return source_id;
	}

	public void setSource_id(int source_id) {
		this.source_id = source_id;
	}

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		if (lang == null) {
			lang = "";
		}
		this.lang = lang;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		if (origin == null) {
			origin = "";
		}
		this.origin = origin;
	}

	public String getTranslation() {
		return translation;
	}

	public void setTranslation(String translation) {
		if (translation == null) {
			translation = "";
		}
		this.translation = translation;
	}

	public int getIs_active() {
		return is_active;
	}

	public void setIs_active(int is_active) {
		this.is_active = is_active;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public String getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}

	@Override
	public String toString() {
		return "EwordInstance [instance_id=" + instance_id + ", word_id=" + word_id + ", source_id=" + source_id
				+ ", lang=" + lang + ", origin=" + origin + ", translation=" + translation + ", is_active=" + is_active
				+ ", create_time=" + create_time + ", update_time=" + update_time + "]";
	}

}
